package com.eonmind.ai.service;

import com.eonmind.common.provider.entity.ai.AiConversationMessage;

import java.util.List;

public interface IAiMessageService {
    void saveBatch(List<AiConversationMessage> chatMessageList);

    List<AiConversationMessage> selectByConversationIdAndLimit(Long conversationId, int lastN);

    void deleteByConversationId(Long conversationId);
}
